package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 桃花传音
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "Peachblossom-user")
public class Peachblossom implements java.io.Serializable {
    private static final long serialVersionUID = 7488921480006384819L;
    @Field("ID")
    private Integer id;  //用户id
    private String soundUrl ;//语音地址
    private Integer remainingTimes = 10;//剩余次数
    private String getID ; //收听者id
    private String starttime;//创建时间
    private String gettime;//接受时间
    private Integer GETremainingTimes ;//接受剩余次数
}
